export const dynamic = 'force-dynamic'; // defaults to auto
export async function getRevenue() {
  const res = await fetch('http://172.20.10.2:8080/revenue/all');
  const data = await res.json();
  return data;
}
